package com.imooc.distributedemo.web3.pojo;

import lombok.Data;
import lombok.ToString;
import org.web3j.protocol.core.methods.response.EthBlock;

import java.math.BigDecimal;
import java.util.List;

@Data
@ToString
public class MyEthBlock extends EthBlock {
    private String number = "0x67bae9";
    private String hash = "0x7371c7479002473db8196ec2e7942f0423fb2b36f99c1e424a024e3d14f0d3f0";
    private String parentHash = "0x50d4fa5901082f1fe57c021debd33d36421b69db4ecf3ad7f5e3746deac2a7a0";
    private String nonce = "0x0000000000000000";
    private String sha3Uncles = "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347";
    private String logsBloom = "0x0000008012004020021000128404204800000820004100200200080004042200000080880000000020030000214601a8560004102402c000020314000064003000640000000488005000000a04a2160205002006052694a0c0004901008100100c2c0010220020c00030248210010810000800c0008a0400000c041c004040109320031002805100634008000d20104200114c8901000002800140000448000102088b04510100102011c0540090200d0601400800088a14828120228000002904201202000203020150212198020000002400405000023040040020c1046011001000802100014000600040620004004000000068002080040408808c098880";
    private String transactionsRoot = "0x512b830be32dc96d86edb560490bf4049806712fff513e9baf280622fbe986b2";
    private String stateRoot = "0x2ef1845fbb6e3b94a830e51b59e877ca3e21b06135b8411e13daa2e8548eb52c";
    private String receiptsRoot = "0xf1e2b85fa492962b2cf620ae14f0dc6f4d4d9f7fdef29fbb1e1a60a32e29ba6e";
    private String author = null;
    private String miner = "0x13cb6ae34a13a0977f4d7101ebc24b87bb23f0d5";
    private String mixHash = "0xe5f5d4d56df73b1757ee6483a99dc15a95b373ac9212094aafa2e911b55181ea";
    private String difficulty = "0x0";
    private BigDecimal totalDifficulty = null;
    private String extraData = "0x496c6c756d696e61746520446d6f63726174697a6520447374726962757465";
    private String size = "0x709f";
    private String gasLimit = "0x1c9c380";
    private String gasUsed = "0x980278";
    private String timestamp = "0x66fcbbc8";
    List<Object> transactions;
    List<Object> uncles;
    private Object sealFields;
}
